package com.hdoit.ares.logical.policy.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.apache.ibatis.type.Alias;

import com.hdoit.ares.logical.insu.model.FanhuaAccident;
import com.hdoit.ares.logical.insu.model.FanhuaCar;
import com.hdoit.ares.logical.insu.model.ZhonganAccident;
import com.hdoit.ares.logical.insu.model.ZhonganCar;
import com.tennetcn.common.message.ModelBase;
/**
 * @author      caochengmeng
 * @email       
 * @createtime  2018年01月18日 15:08:15
 * @comment
 */
@Alias("listPolicy")
@Entity
@Table(name="policy_list_policy")
public class ListPolicy extends ModelBase{
    //主键
    @Id
    @Column(name="id")
    private String id;

    //客户标识
    @Column(name="customerId")
    private String customerId;

    //标识
    @Column(name="signs")
    private String signs;

    //产品名称
    @Column(name="productName")
    private String productName;

    //起保日期
    @Column(name="startDate")
    private Date startDate;

    //终保日期
    @Column(name="endDate")
    private Date endDate;

    //创建日期
    @Column(name="createDate")
    private Date createDate;

    //外键
    @Column(name="oid")
    private String oid;

    //删除标识
    @Column(name="deleteMark")
    private String deleteMark;
    
    //保单状态
    @Transient
    private String insuState;
    
    //保单号
    @Transient
    private String policyNo;
    
    //保费
    @Transient
    private String totalMoney;
    
    //推广费
    @Transient
    private String promotionFee;
    
    //用户名
    @Transient
    private String userName;
    
    //会员号
    @Transient
    private String userIdentity;
    
    //地区
    @Transient
    private String region;
    
    //身份标识
    @Transient
    private String level;
    
    //泛华车险
    @Transient
    private FanhuaCar fanhuaCar;
    
    //泛华意健险
    @Transient
    private FanhuaAccident fanhuaAccident;
    
    //众安意健险
    @Transient
    private ZhonganAccident zhonganAccident;
    
    //众安车险
    @Transient
    private ZhonganCar zhonganCar;
    
    public ZhonganAccident getZhonganAccident() {
		return zhonganAccident;
	}
	public void setZhonganAccident(ZhonganAccident zhonganAccident) {
		this.zhonganAccident = zhonganAccident;
	}
	public String getPolicyNo() {
		return policyNo;
	}
	public void setPolicyNo(String policyNo) {
		this.policyNo = policyNo;
	}
	public String getTotalMoney() {
		return totalMoney;
	}
	public void setTotalMoney(String totalMoney) {
		this.totalMoney = totalMoney;
	}
	public String getPromotionFee() {
		return promotionFee;
	}
	public void setPromotionFee(String promotionFee) {
		this.promotionFee = promotionFee;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserIdentity() {
		return userIdentity;
	}
	public void setUserIdentity(String userIdentity) {
		this.userIdentity = userIdentity;
	}
	public String getRegion() {
		return region;
	}
	public void setRegion(String region) {
		this.region = region;
	}
	public String getLevel() {
		return level;
	}
	public void setLevel(String level) {
		this.level = level;
	}
	public FanhuaCar getFanhuaCar() {
		return fanhuaCar;
	}
	public void setFanhuaCar(FanhuaCar fanhuaCar) {
		this.fanhuaCar = fanhuaCar;
	}
	public FanhuaAccident getFanhuaAccident() {
		return fanhuaAccident;
	}
	public void setFanhuaAccident(FanhuaAccident fanhuaAccident) {
		this.fanhuaAccident = fanhuaAccident;
	}
	public ZhonganCar getZhonganCar() {
		return zhonganCar;
	}
	public void setZhonganCar(ZhonganCar zhonganCar) {
		this.zhonganCar = zhonganCar;
	}
	public String getInsuState() {
		return insuState;
	}
	public void setInsuState(String insuState) {
		this.insuState = insuState;
	}
	public String getId(){
        return this.id;
    }
    public void setId(String id){
         this.id=id;
    }

    public String getCustomerId(){
        return this.customerId;
    }
    public void setCustomerId(String customerId){
         this.customerId=customerId;
    }

    public String getSigns(){
        return this.signs;
    }
    public void setSigns(String signs){
         this.signs=signs;
    }

    public String getProductName(){
        return this.productName;
    }
    public void setProductName(String productName){
         this.productName=productName;
    }

    public Date getStartDate(){
        return this.startDate;
    }
    public void setStartDate(Date startDate){
         this.startDate=startDate;
    }

    public Date getEndDate(){
        return this.endDate;
    }
    public void setEndDate(Date endDate){
         this.endDate=endDate;
    }

    public Date getCreateDate(){
        return this.createDate;
    }
    public void setCreateDate(Date createDate){
         this.createDate=createDate;
    }

    public String getOid(){
        return this.oid;
    }
    public void setOid(String oid){
         this.oid=oid;
    }

    public String getDeleteMark(){
        return this.deleteMark;
    }
    public void setDeleteMark(String deleteMark){
         this.deleteMark=deleteMark;
    }
	@Override
	public String toString() {
		return "ListPolicy [id=" + id + ", customerId=" + customerId + ", signs=" + signs + ", productName=" + productName + ", startDate=" + startDate + ", endDate=" + endDate + ", createDate=" + createDate + ", oid=" + oid + ", deleteMark=" + deleteMark + ", insuState=" + insuState + ", policyNo=" + policyNo + ", totalMoney=" + totalMoney + ", promotionFee=" + promotionFee + ", userName=" + userName + ", userIdentity=" + userIdentity + ", region=" + region + ", level=" + level + ", fanhuaCar=" + fanhuaCar + ", fanhuaAccident=" + fanhuaAccident + ", zhonganAccident=" + zhonganAccident + ", zhonganCar=" + zhonganCar + "]";
	}
    
}